package linuxbox.exception;

public class PropertyFormatException extends A_ConfigException {
	String propertyClass = "";
	
	public PropertyFormatException() {
	}
	
	public PropertyFormatException(String aPropertyClass) {
		if (aPropertyClass != null) propertyClass = aPropertyClass;
	}
	
	public PropertyFormatException(String aPropertyClass, String aMessage) {
		super(aMessage);
		
		if (aPropertyClass != null) 
			propertyClass = aPropertyClass;
	}
	
	public String getPropertyClass() { 
		return propertyClass; 
	}
	
	public String toString() {
		return "PropertyFormatException - " + propertyClass + " -" + errorMessage;
	}
}